package application

import (
	"gitee.com/yunduansing/limitsecondkill/controller"
	"github.com/kataras/iris/v12"
	"github.com/kataras/iris/v12/context"
)

func RegisterAllRouters(app *iris.Application){
	app.Get("/api/test", func(context *context.Context) {
		context.JSON(iris.Map{"status":true,"msg":"ok"})
	})
	app.Get("/api/order/kill",controller.Kill)
}
